package org.nepu.scr.indexrate.vo.drillingrate.keydevice.wellcontrolsystem;

import lombok.Data;
import org.nepu.scr.indexrate.converter.drillingrate.keydevice.improvesystem.InputTerminalConverter;
import org.nepu.scr.indexrate.vo.drillingrate.keydevice.improvesystem.InputTerminal;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
public class Battery {

    //蓄能器组总容积（L）
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "total_capacity")
    InputTerminal totalCapacity;

    //工作压力（MPa）
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "working_pressure")
    InputTerminal workingPressure;

    //蓄能器充氮压力（MPa）
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "charging_nitrogen_pressure")
    InputTerminal chargingNitrogenPressure;

}
